package com.example.forum.service;

import com.example.forum.model.Message;

import java.util.List;

public interface IMessageService {
    Integer addMessage(Long receiveUserId,String content,Long userId);

    List<Message> selectMessageByUserId(Long userId);

    Integer updateMessageStatus(Long receiveIUserId);

    Integer getNotReadCount();
}
